package com.road.yishi.core.cmd;

import java.io.BufferedWriter;

import com.road.yishi.core.anno.AdminCmd;

/**
 * @Description :
 * @FileName: SampleCmd.java
 * @Author :WeiHui.Zhang
 * @Data : 2016年2月17日 下午6:19:47
 * @Version:V1.00
 */

@AdminCmd(value = "hello", desc = "hello")
public class HelloCmd extends AbstractAdminCommand {

	@Override
	public boolean exec(String[] params, BufferedWriter writer) throws Exception {
		System.out.println("hello");
		send(writer, "hello");
		return true;
	}

}
